Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README #1271

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update README #1271

wants to merge 2 commits into from

Conversation

ahoneybun
Copy link

This updates the README based on my experience setting up Hydra locally.

@ahoneybun
Copy link
Author

Please note that the example/hello.nix does not build:

command `git rev-parse nixos-22.11' failed with exit status 32768 in /var/lib/hydra/scm/git/2d3d69c75e2540382d11cba6a4ed672c4aa6c4cc82c1370ec91087d6b5393c06 at /nix/store/lrvmarjxpvcrcsbr8569m8gkgrzsy23r-hydra-2022-10-22/libexec/hydra/lib/Hydra/Helper/Nix.pm line 460.

@ahoneybun
Copy link
Author

I think we should also update somewhere on how to remove old builds and ones that fail, I know this works but it's not ideal:

  1. Remove the gcroots:
rm /nix/var/nix/gcroots/hydra/*
  1. Then remove the garbage:
nix-collect-garbage

README.md Outdated
@@ -57,7 +57,7 @@ We have to add two inputs for this jobset. One for _nixpkgs_ and one for _hydra_

- **Input name**: `nixpkgs`
- **Type**: `Git checkout`
- **Value**: `https://github.com/nixos/nixpkgs-channels nixos-20.03`
- **Value**: `https://github.com/nixos/nixpkgs-channels nixos-22.11`
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **Value**: `https://github.com/nixos/nixpkgs-channels nixos-22.11`
- **Value**: `https://github.com/NixOS/nixpkgs nixos-22.11`

or maybe even go with

Suggested change
- **Value**: `https://github.com/nixos/nixpkgs-channels nixos-22.11`
- **Value**: `https://github.com/NixOS/nixpkgs nixos-23.05`

Both should fix the issue you reported

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be good in the latest commit and I also rebased to clean up the history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants